package cn.com.joycode.nimble.spring.cloud;

import cn.com.joycode.nimble.core.utils.NetUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

import java.util.TimeZone;

/**
 * @author Max Woods
 */

@SpringBootApplication
@EnableEurekaServer
public class EurekaServer {

    public static void main(String[] args) {
        // 忽略https证书
        NetUtil.disableSslVerification();
        // 设置时区
        TimeZone.setDefault(TimeZone.getTimeZone("Asia/Shanghai"));
        SpringApplication.run(EurekaServer.class, args);
    }
}
